package com.jelly.io.input;

import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;

/**
 * 格式化的内存输入
 * @author Jelly
 *
 */
public class FormattedMemoryInput {
	public static void main(String[] args) {
		try {
			DataInputStream in = new DataInputStream(new ByteArrayInputStream(BufferedInputFile.read("src\\com\\jelly\\io\\input\\FormattedMemoryInput.java").getBytes()));
			while(true){
				System.out.print((char)in.readByte());
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
